/* 
 * File:   Query.h
 * Author: danielginting
 *
 * Created on April 30, 2011, 3:15 PM
 */

#ifndef QUERY_H
#define	QUERY_H

#include <string>
#include <iostream>
#include <list>

using namespace std;

class Query {
public:
    Query();
    Query(const Query&);
    ~Query();

    void Parse();

    void setLine(string s);

    string getLine();
    string getName();

    void printParam();
	
	list<Transisi*>::iterator getTransition();

    void replace(string s1, string s2);


private:
    int num_of_query;
    list<string> temp;
	list<Transisi*> trans;
    string fact_name;
    string line;
};

#endif	/* QUERY_H */

